Skip to content

feat(converter): add edge case handling for Task patterns and code blocks#39

Merged
marcusrbrown merged 1 commit into
mainfrom
fuchsia-calm-jaguar
Jan 31, 2026
Merged

feat(converter): add edge case handling for Task patterns and code blocks#39
marcusrbrown merged 1 commit into
mainfrom
fuchsia-calm-jaguar

Conversation

@marcusrbrown
Copy link
Copy Markdown
Owner

  • Add Task colon pattern regex for Task agent-name: "prompt" syntax
    (used ~20+ times in CEP commands)
  • Add Skill invocation pattern for Skill("name") syntax
  • Preserve code blocks during transformation (tool references inside
    backticks are intentionally not converted)
  • Add comprehensive validation tests against real CEP content

Validated against 17 real CEP files (8 skills, 5 commands, 4 agents). All 148 tests pass with 0 false positives detected.

Closes edge cases:

  • Task with colon not converted (FIXED)
  • Skill(args) pattern not converted (FIXED)
  • Code block content transformed (FIXED - now preserved)

…ocks

- Add Task colon pattern regex for `Task agent-name: "prompt"` syntax
  (used ~20+ times in CEP commands)
- Add Skill invocation pattern for `Skill("name")` syntax
- Preserve code blocks during transformation (tool references inside
  backticks are intentionally not converted)
- Add comprehensive validation tests against real CEP content

Validated against 17 real CEP files (8 skills, 5 commands, 4 agents).
All 148 tests pass with 0 false positives detected.

Closes edge cases:
- Task with colon not converted (FIXED)
- Skill(args) pattern not converted (FIXED)
- Code block content transformed (FIXED - now preserved)
@marcusrbrown marcusrbrown enabled auto-merge (squash) January 31, 2026 19:24
@marcusrbrown marcusrbrown self-assigned this Jan 31, 2026
@marcusrbrown marcusrbrown merged commit 486d4bb into main Jan 31, 2026
8 checks passed
@marcusrbrown marcusrbrown deleted the fuchsia-calm-jaguar branch January 31, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant